import request from '@/utils/request'
// -------- 标签管理 --------

let BASE_ADDRESS = '/base/label'

// 新增 add 
export const getAddDataApi = (data) => {
  return request({
    url: `${BASE_ADDRESS}/add`,
    method: 'POST',	
		data
  })
}


// 分页查询 
export const getListDataApi = (data) => {
  return request({
    url: `${BASE_ADDRESS}/list`, 
    method: 'get',
		params: data
  })
}

// 修改
export const getEditDataApi = (data) => {
  return request({
    url: `${BASE_ADDRESS}/edit`,
    method: 'put',
		data
  })
}
